aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]/[id]
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-25 11:36:02 +0530
committerreal-zephex <[email protected]>2024-03-25 11:36:02 +0530
commit19e0b76673237156da05f5277287f694596a0695 (patch)
tree20e53759882aafe8970867302c3c6df0eb2dac40 /src/app/manga/[title]/[id]
parentfeature added: mangas are now available (diff)
downloaddramalama-19e0b76673237156da05f5277287f694596a0695.tar.xz
dramalama-19e0b76673237156da05f5277287f694596a0695.zip
fix: vercel fix
Diffstat (limited to 'src/app/manga/[title]/[id]')
-rw-r--r--src/app/manga/[title]/[id]/[read]/page.jsx2
-rw-r--r--src/app/manga/[title]/[id]/buttons.jsx1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx
index a90d170..0d58df6 100644
--- a/src/app/manga/[title]/[id]/[read]/page.jsx
+++ b/src/app/manga/[title]/[id]/[read]/page.jsx
@@ -25,7 +25,7 @@ export default async function Read({ params }) {
<div className={styles.ImageContainer}>
{images &&
images.map((item, index) => (
- <div className={styles.Image}>
+ <div className={styles.Image} key={index}>
<Image
src={`https://image-proxy-manga.vercel.app/image-proxy?url=${item}`}
key={index}
diff --git a/src/app/manga/[title]/[id]/buttons.jsx b/src/app/manga/[title]/[id]/buttons.jsx
index 07fe3c3..b4b8d4a 100644
--- a/src/app/manga/[title]/[id]/buttons.jsx
+++ b/src/app/manga/[title]/[id]/buttons.jsx
@@ -9,6 +9,7 @@ export default async function Buttons({ content: data }) {
if (item.pages !== 0) {
return (
<Link
+ key={index}
href={{
pathname: `/manga/info/read/${item.id}`,
query: {